body{
    margin: 0;
    background: #f2f2f2;
}
#container{
    width: 1000px;
    margin: 0 auto;
}
#container nav ul{
    display: flex;
    margin: 0;
    list-style: none;
    background-color: #c83f3f;
}
#container nav ul li{
    width: 150px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
#container nav ul li:hover{
    background: #6c0f70;
}
li.active{
    height: 36px;
    background-color: #c83f3f;
    border-bottom: 2px solid #fff;
}
#container .news{
    width: 100%;
    height: 180px;
    display: flex;
    border-bottom: 1px solid #c0c0cc;
    padding: 15px;
}
#container .news .left{
    width: 270px;
}
#container .news .left img{
    width: 260px;
    height: 180px;
}
#container .news .right{
    display: flex;
    flex-direction: column;/*垂直布局*/
}
#container .news p{
    color: #666;
    flex-grow: 1;/*占用所有空间*/
}
